package com.gxc.oauth2.repository;

import com.gxc.oauth2.entity.TbPermissionEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author GongXincheng
 * @since 2019-10-11 17:43
 */
public interface PermissionRepository extends JpaRepository<TbPermissionEntity, Long> {

    List<TbPermissionEntity> findByIdIn(List<Long> idList);

}
